package outils;

import modele.Relations;
import vue.VuePanelClasse;

public class PaireClasse {
	private VuePanelClasse vpc1, vpc2;
	private String card1, card2;
	private Relations typeRelations;
	

	public PaireClasse() {
		
	}
	
	public PaireClasse(PaireClasse pc) {
		this.vpc1 = pc.getVpc1();
		this.vpc2 = pc.getVpc2();
		this.card1 = pc.getCard1();
		this.card2 = pc.getCard2();
		this.typeRelations = pc.getTypeRelations();
	}
	
	public PaireClasse(VuePanelClasse v1, String c1, VuePanelClasse v2, String c2, Relations t) {
		this.vpc1 = v1;
		this.vpc2 = v2;
		this.card1 = c1;
		this.card2 = c2;
		this.typeRelations = t;
	}
	
	public VuePanelClasse getVpc1() {
		return vpc1;
	}

	public void setVpc1(VuePanelClasse vpc1) {
		this.vpc1 = vpc1;
	}

	public VuePanelClasse getVpc2() {
		return vpc2;
	}

	public void setVpc2(VuePanelClasse vpc2) {
		this.vpc2 = vpc2;
	}
	
	public String getCard2() {
		return card2;
	}

	public void setCard2(String card2) {
		this.card2 = card2;
	}

	public String getCard1() {
		return card1;
	}

	public void setCard1(String card1) {
		this.card1 = card1;
	}
	
	public Relations getTypeRelations() {
		return typeRelations;
	}

	public void setTypeRelation(Relations typeRelation) {
		this.typeRelations = typeRelation;
	}

}
